<template>
  <div>
    <div v-if="show">111</div>
    <button @click="State">显示/隐藏</button>
  </div>
</template>

<script>
export default {
  name: "RbacProjectUiDemo",

  data() {
    return {
      show: true,
    };
  },

  mounted() {},

  methods: {
    State(){
        this.show = !this.show;
    }
  },
};
</script>
